#ifndef MAPBUILDER_INCLUDED
#define MAPBUILDER_INCLUDED

#pragma once

#include <string>
#include "Polygon.h"
#include <list>

class MapBuilder
{
public:
	explicit MapBuilder(const std::string& filepath);
	void AddTexturePath(const std::string& path);
	void AddPolygon(const std::vector<vec2f>& points, const std::string& texturepath);

	const std::list<std::string>& GetTexturePathes() const;
	const std::list<ftb::Polygon>& GetPolygons() const;
private:
	std::list<ftb::Polygon> m_Polygons;
	std::list<std::string> m_TexturePathes;
};

#endif